package com.wandian.news.bean;

import java.util.List;

/**
 * @Author: cl
 * @CreateDate: 2020/12/7 11:54
 * @UpdateRemark:
 */
public class KnowledgeYHZDBean {

    /**
     * msg : success
     * code : 200
     * newslist : [{"word":"lexicon","content":"n:简编,字汇,字书,词典,词库,辞典,概要"}]
     */
    private String msg;
    private int code;
    private List<NewslistEntity> newslist;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setNewslist(List<NewslistEntity> newslist) {
        this.newslist = newslist;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<NewslistEntity> getNewslist() {
        return newslist;
    }

    public class NewslistEntity {
        /**
         * word : lexicon
         * content : n:简编,字汇,字书,词典,词库,辞典,概要
         */
        private String word;
        private String content;

        public void setWord(String word) {
            this.word = word;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getWord() {
            return word;
        }

        public String getContent() {
            return content;
        }
    }
}
